/* 控制面板样式 */
.controls {
  margin-top: 20px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 输入区域 */
.input-section {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.barrage-input {
  flex: 1;
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.barrage-input:focus {
  outline: none;
  border-color: #00a1d6;
}

.barrage-input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.send-btn {
  padding: 10px 30px;
  background: linear-gradient(135deg, #00a1d6, #0084b4);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.send-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #0084b4, #006a8e);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 161, 214, 0.3);
}

.send-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* 控制按钮组 */
.control-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.control-buttons button {
  padding: 8px 16px;
  background: white;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.control-buttons button:hover {
  background: #f5f5f5;
  border-color: #00a1d6;
  color: #00a1d6;
}

.control-buttons button.active {
  background-color: #28a745;
  color: white;
  border-color: #28a745;
}

.control-buttons button.active:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

/* 状态信息 */
.status-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 13px;
}

.status-info span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.server-status.connected {
  color: #28a745;
}

.server-status.disconnected {
  color: #dc3545;
}

.sync-status.synced {
  color: #28a745;
}

.sync-status.syncing {
  color: #ffc107;
}

.sync-status.paused {
  color: #6c757d;
}

.full-warning {
  color: #dc3545;
  font-weight: bold;
}

